package com.feng.spring5.other;

import org.junit.jupiter.api.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import java.sql.Connection;
import java.sql.DriverManager;

public class duridTest {
    @Test
    public void test(){
        ApplicationContext context = new ClassPathXmlApplicationContext("druid.xml");
        //dataSource bean = context.getBean(dataSource.class);
//        Connection connection = DriverManager.getConnection();
    }
}
